package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.CashDailyMethodInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.CheckoutMethodInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchCashDailyMethodInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchCheckoutMethodInfo;
import com.sxfq.loansupermarket.backsystem.modular.refunds.entity.RechargeInfo;

import java.util.List;

/**
 *
 * @author py
 * @Date 2019年2月19日23:15:54
 */
public interface ICheckoutMethodService {
    List<CheckoutMethodInfo> selectPageListByQueryGetMap(Page<CheckoutMethodInfo> page, SearchCheckoutMethodInfo info);

    List<CashDailyMethodInfo> selectPageListByQuery(Page<CashDailyMethodInfo> page, SearchCashDailyMethodInfo info);

    CheckoutMethodInfo selectOneById(String checkoutMethodId);

    CashDailyMethodInfo selectById(String CashDailyMethodInfo);

    int insert(CheckoutMethodInfo info);

    int updateCheckoutMethodStatus(int id,String column,String status);

    int insert(CashDailyMethodInfo info);

    void delete(String id);

    void deletes(String id);

    int update(CheckoutMethodInfo info);

    int update(CashDailyMethodInfo info);

    List<RechargeInfo>  list();
}